﻿using Admin.Core.Common.Input;
using Admin.Core.Common.Output;
using Admin.Core.Model.Admin;
using Admin.Core.Service.Admin.Department.Input;
using System.Threading.Tasks;

namespace Admin.Core.Service.Admin.Department
{
    public partial interface IDepartmentService
    {
        Task<IResponseOutput> GetAsync(long id);

        Task<IResponseOutput> GetListAsync(string key);

        Task<IResponseOutput> AddAsync(DepartmentAddInput input);

        Task<IResponseOutput> UpdateAsync(DepartmentUpdateInput input);

        Task<IResponseOutput> DeleteAsync(long id);

        Task<IResponseOutput> SoftDeleteAsync(long id);
    }
}